/*
* @author Oleg Varaksin
* $$Id: Inspector.java 45 2011-01-14 15:18:34Z ovaraksin $$
*/

package com.googlecode.jsf2inspector.plugin.commons;

import org.apache.maven.plugin.MojoExecutionException;

import java.util.List;
import java.util.Set;

public interface Inspector<T>
{
    Set<T> getObjectsToInspect() throws MojoExecutionException;

    List<InspectionMessage> inspect(T object) throws MojoExecutionException;

    void setProcessMojo(AbstractProcessMojo processMojo);

    boolean isFailOnWarning();
}
